package com.itheima.reggie.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class DishFlavor implements Serializable {
    private static final long serialVersionUID=1L; //序列化标识符，确保在不同编译器上反序列化的uid相等。
    private Long id;
    private Long dishId;
    private String name;
    private String value;     //口味数据list
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTable;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime uptateTable;
    @TableField(fill = FieldFill.INSERT)
    private Long createUser;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateUser;
   // private Integer isDelete;
}
